package com.alinesno.cloud.base.logger.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * <p>
 * 
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 09:30:11
 */
@Entity
@Table(name="basic_resources")
public class BasicResourcesEntity extends BaseWatcherEntity {

    private static final long serialVersionUID = 1L;

	@Column(name="menu_type")
	private String menuType;
	@Column(name="open_target")
	private String openTarget;
	private String permission;
	@Column(name="permission_script")
	private String permissionScript;
	@Column(name="resource_icon")
	private String resourceIcon;
	@Column(name="resource_link")
	private String resourceLink;
	@Column(name="resource_name")
	private String resourceName;
	@Column(name="resource_order")
	private Integer resourceOrder;
	@Column(name="resource_parent")
	private String resourceParent;


	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getOpenTarget() {
		return openTarget;
	}

	public void setOpenTarget(String openTarget) {
		this.openTarget = openTarget;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getPermissionScript() {
		return permissionScript;
	}

	public void setPermissionScript(String permissionScript) {
		this.permissionScript = permissionScript;
	}

	public String getResourceIcon() {
		return resourceIcon;
	}

	public void setResourceIcon(String resourceIcon) {
		this.resourceIcon = resourceIcon;
	}

	public String getResourceLink() {
		return resourceLink;
	}

	public void setResourceLink(String resourceLink) {
		this.resourceLink = resourceLink;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public Integer getResourceOrder() {
		return resourceOrder;
	}

	public void setResourceOrder(Integer resourceOrder) {
		this.resourceOrder = resourceOrder;
	}

	public String getResourceParent() {
		return resourceParent;
	}

	public void setResourceParent(String resourceParent) {
		this.resourceParent = resourceParent;
	}


	@Override
	public String toString() {
		return "BasicResourcesEntity{" +
			"menuType=" + menuType +
			", openTarget=" + openTarget +
			", permission=" + permission +
			", permissionScript=" + permissionScript +
			", resourceIcon=" + resourceIcon +
			", resourceLink=" + resourceLink +
			", resourceName=" + resourceName +
			", resourceOrder=" + resourceOrder +
			", resourceParent=" + resourceParent +
			"}";
	}
}
